package designPattern.structuralPattern.decorator;

/**
 * @author wei.zhao
 * @description: 抽象装饰角色
 * @date 2021年12月15日 17:49
 */
public class Decorator implements Component {

    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        component.operation();
    }

}
